<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f = "http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui" 
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head>
        <title>Home-RefPortal</title>
    </h:head>
    <h:body style="h">   


        <ui:composition template="./BannersAndMenusTemplate.jsf">

            <ui:define name="content">
                <p:panel header="Home">
                    <h:form  rendered="#{user.login2}"> 
                        
                          <table>
                            <tr>
                                <td>
                                    <h3>Welcome to RefPortal!</h3>
                                    <p>This is your website which will help you collect and keep track of your set of references as you travel around the world.</p>
                                </td>
                                <td>


                                </td>
                            </tr>
                        </table>
                    </h:form>
                    <h:form rendered="#{user.login}"> 
                        <table>
                            <tr>
                                <td>
                                    <h3>Welcome, <h:outputLabel for="name" value="#{user.name}" />!</h3>
                                    <p>This is your website which will help you collect and keep track of your set of references as you travel around the world.</p>
                                </td>
                                <td>


                                </td>
                            </tr>
                        </table>
                    </h:form>

                </p:panel> 
            </ui:define>

        </ui:composition>




    </h:body>
</html>

